/**
 * 统一封装后端接口的url地址
 */

// 接口的统一的服务端地址
export const baseURL = 'http://localhost:8080'

//
// 用户接口地址
export const loginURL = '/user/login'



//领用相关接口地址
export const addAssetApply = '/apply/addApply'
export const auditAssetApply = '/apply/approveApply'
export const getAssetInfoList = '/apply/assetInfo'
export const userGetAssetApplyList = '/apply/userApplyList'
export const getAssetApplyList = '/apply/approveApplyList'

//归还相关接口地址
export const addReturnApply = '/return/addReturnApply'
export const updateReturn = '/return/approveReturnApply'
export const userGetReturnListPage = '/return/userReturnList'
export const getReturnListPage = '/return/handlerReturnList'

//入库相关接口地址
export const addAssetStockIn = '/stockIn/addStockInApply'
export const updateAssetStockIn = '/stockIn/approveStockInApply'
export const getAssetStockInList = '/stockIn/listPage'

//维修相关接口地址
export const addAssetRepair = '/repair/addRepairApply'
export const updateAssetRepair = '/repair/handlerAssetRepairApply'
export const getAssetRepairList = '/repair/getAssetRepairList'

//报废相关接口地址
export const addAssetScrap = '/scrap/addScrapApply'
export const approveAssetScrap = '/scrap/approveScrapApply'
export const handlerAssetScrap = '/scrap/handlerScrapApply'
export const userGetAssetScrapList = '/scrap/userScrapList'
export const approveGetAssetApplyList = '/scrap/approveScrapList'
export const handlerGetAssetApplyList = '/scrap/handlerScrapList'


//资产接口地址
export const getAssetOverview = '/api/api/statistics/overview'
export const getAssetOverview1 = '/api/api/statistics/overview1'
export const getAssetStatusDistribution = '/api/api/statistics/status-distribution'
export const getAssetCategoryDistribution = '/api/api/statistics/category-distribution'
export const getAssetNowValueTrend = '/api/api/statistics/now-value-trend'
export const getAssetValueTrend = '/api/api/statistics/value-trend'







export const getAssetLedger = '/api/statistics/asset-ledger'
export const getAssetTransferReport = '/api/statistics/transfer-report'
export const getDeptUsageHotness = '/api/statistics/dept-usage-hotness'
export const getCheckRecordReport = '/api/statistics/asset/check'
export const getDeptCheckStatistics = '/api/statistics/check/dept-statistics'
export const getCheckCompletionRateTrend = '/api/statistics/check/trend'
export const getAssetDeptDistribution = '/api/statistics/dept-distribution'